home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cd %1
-
- cls
- echo -------------------------------------------------------------------------------- Awave Studio uninstallation procedure FMJ-Software --------------------------------------------------------------------------------
- echo Uninstalling... (%1)
-
- rem ** Clean up the registry **
- if exist "Awave Studio.exe" goto runexe
- echo Error: Could not find "Awave Studio.exe"
- echo.
- echo Uninstallation aborted!
- goto end
- :runexe
- echo Cleaning up the registry...
- dir > awblock
- "Awave Studio.exe" -UNINSTALL
- :wait
- if exist awblock goto wait
-
- rem ** Delete files? **
- if not exist awdel goto nodel
-
- echo Deleting files...
- del awdel
- if exist "Awave Studio.gid" attrib -h "Awave Studio.gid"
- :retry
- del "Awave Studio.*"
- if exist "Awave Studio.exe" goto retry
- del *.diz
- del *.txt
- del *.dll
-
- echo.
- echo Done!
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- del Uninstall.bat
- goto end
-
- :nodel
- echo.
- echo Done! (No files deleted).
- echo.
-
- :end
-